package com.example.demo_mvvm.http;


import com.example.demo_mvvm.entity.BaseResponse;
import com.example.demo_mvvm.entity.VideoEntity;

import java.util.List;

import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * @author yaotianxue
 * @description
 * @date 2025/1/9
 */
public interface ApiService {
    //分页加载
    @GET("video/findVideos?pageSize=20")
    BaseResponse<List<VideoEntity>> video(@Query("currentPage") int currentPage);
}
